package com.device.util;

import com.device.entity.User;

public class PltThreadLocalUtil{
	/** 当前用户 */
    private static final ThreadLocal<User> userLocal = new ThreadLocal<User>();  
    public static User getUser() {
		return (User) userLocal.get();
	}
	public static void setUser(User user) {
		userLocal.set(user);
	}
}